package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.basic.pojo.dto.*;
import com.kaili.basic.pojo.entity.BaseMoveStoreEntity;
import com.kaili.basic.pojo.entity.BaseReportLossEntity;
import com.kaili.basic.pojo.vo.BaseMoveStoreExportVO;
import com.kaili.basic.pojo.vo.BaseMoveStoreVO;
import com.kaili.basic.pojo.vo.BaseReportLossDetailVO;
import com.kaili.common.response.RestStatus;

import java.util.HashMap;
import java.util.List;


public interface BaseReportLossService extends IService<BaseReportLossEntity> {

    public Long queryStoreOrderNo();

    RestStatus addReportLoss(BaseReportLossAddDTO dto);

    RestStatus updateReportLoss(BaseReportLossEditDTO dto);

    RestStatus auditReportLoss(BaseReportLossAuditDTO dto) throws RuntimeException;

    Page<BaseReportLossDetailVO> queryPageList(Page<BaseReportLossDetailVO> baseReportLossDetailVOPage, BaseReportLossQueryDto queryDto);

    List<BaseReportLossDetailVO> queryDetailByOrderNo(HashMap<String, Object> map);

    BaseReportLossDetailVO queryReportLossDetail(HashMap<String, Object> map);

    List<BaseMoveStoreExportVO> export(BaseReportLossQueryDto queryDto);
}
